<?php include('php/authenticatephastregex.php'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
  <head>
    <title>Phastregex. in-silico chip-seq</title>
    <meta http-equiv="Content-Type" content ="text/html; charset=utf-8">
    <link rel="stylesheet" href="phastregexstylejw.css" type="text/css">
    <?php include('php/jasonweirather.php'); ?>
  </head>
  <body>
    <?php include('php/logoline.php'); ?>
    <?php
      $_SESSION['basename'] = NULL;
      $_SESSION['hit_file_generated'] = 0;
    echo('
      <div id="input_form">
        <form enctype="multipart/form-data" action="fetchhits.php" method="post">
          <span class="form_label">Title: </span><input type="text" name="title" value="'.$_SESSION["first_name"] . ' ' . date("Y-m-d").'" id="title_text_box"><br>
          <div id="paramater_row">
            <div class="text_input"><span class="form_label">Select Species:<br></span><select id="species_menu" name="speciesdropdown">
                 <option value="hg18" selected="yes">hg18 Human</option>
                 <option value="mm9">mm9 Mouse</option>
                 <option value="danrer4">danRer4 Zebrafish</option>
                 <option value="fr2">fr2 Fugu</option>
               </select>
            </div>
          </div>
          <div id="regex_input">
            <span class="form_label">Regular Expression</span><br>
            <textarea name="regex" id="regexin" value="5"></textarea><br><br>
            <input type="submit" value="Submit"/>&nbsp&nbsp<a href="../phastregex/phastregexhelp.html" id="help">?</a>
          </div>
        </form>
      </div>
');
    ?>
    <?php include('php/lastline.php'); ?>
  </body>
</html> 
